/*
 * Powered By www.cardmee.net
 */
package com.ns.school.mapper.wave;

import java.util.List;
import java.util.Map;

import com.ns.school.po.edu.LayuiResult;
import com.ns.school.po.sys.User;
import com.ns.school.po.wave.WaveDevicePO;
import org.apache.ibatis.annotations.Param;

import com.ns.school.po.wave.WaveRequestDetailPO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * @author wt-97
 */
public interface WaveRequestDetailMapper extends BaseMapper<WaveRequestDetailPO>{

    // 查询全部
    List<WaveRequestDetailPO> queryList(WaveRequestDetailPO waveRequestDetail);

    // 查询总数
    int queryCount(WaveRequestDetailPO waveRequestDetail);

    // 可选新增
    int insertSelective(WaveRequestDetailPO waveRequestDetail);

    // 批量新增
    int insertBatch(List<WaveRequestDetailPO> list);

    // 更新
    int updateById(WaveRequestDetailPO waveRequestDetail);

    // 删除
    int updateDel(WaveRequestDetailPO waveRequestDetail);

    List<WaveDevicePO>queryAllName(Map<String, Object> map);

    List<User> selectAllName(Map<String, Object> map);

    WaveRequestDetailPO selectWaveRequest(Integer id);

    int updateDelAll(Integer integer);

    int checkRequest(WaveRequestDetailPO waveRequestDetailPO);

    int checkRequestUpdate(LayuiResult result,Integer id);

    int checkRequestFail(Integer id);
}
